package com.test.vote.mapper;


import com.test.vote.pojo.Battle;

import java.util.List;

public interface BattleDao {

    int deleteByPrimaryKey(Integer battleId);

    int insert(Battle record);

    int insertSelective(Battle record);

    Battle selectByPrimaryKey(Integer battleId);

    List<Battle> selectBattle(int battleId);

    int updateByPrimaryKeySelective(Battle record);

    int updateATicket(int battleId);

    int updateBTicket(int battleId);

    int updateByPrimaryKey(Battle record);
}